POV-Ray : Newsgroups : povray.advanced-users : Math question : Math question Server Time
30 Jul 2024 02:28:18 EDT (-0400)
  Math question  
From: Pabs
Date: 9 May 2000 23:34:51
Message: <3918D8BA.79E41F33@hotmail.com>
Say I have a ray represented by a ray origin & a unit length direction
vector and
a point some-where along the ray - how do I find the distance along the
ray in the direction of the ray's direction vector from the origin  - ie
in the below diagram the distance found would be negative

ray --------------|------------------------------------->
         ^       ray
         |      origin
      point on   dist = 0
        ray
      dist = -1


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.